package com.hycat.mail.product.client;

import com.hycat.mail.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * @author : lzhycat
 * @date : 2022-07-28 15:18
 */
@FeignClient(value = "mail-ware", path = "/ware")
public interface WareClient {
    @RequestMapping("/waresku/stockDetails")
    Map<Long, Long> stockDetails(@RequestParam List<Long> skuIds);
}
